﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MusicEvolution.Database
{
    public class Composer_Artwork : DataBaseRow 
    {
        DataField _Composer;
        DataField _Artwork;

        public long Composer
        {
            get { return Convert.ToInt64(_Composer.Value); }
            set { _Composer.Value = value.ToString(); }
        }

        public long Artwork
        {
            get { return Convert.ToInt64(_Artwork.Value); }
            set { _Artwork.Value = value.ToString(); }
        }

        public Composer_Artwork()
        {
            _Composer = new DataField("Composer", "");
            _Artwork = new DataField("Artwork", "");

            base.Add(_Composer);
            base.Add(_Artwork);
        }
    }
}
